package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.StoreGrouponSettings;
import org.apache.ibatis.annotations.Param;

/**
 * 门店团购设置Mapper接口
 *
 * @author ruoyi
 * @date 2025-05-14
 */
public interface StoreGrouponSettingsMapper
{
    /**
     * 通过id查询门店团购设置
     *
     * @param id 门店团购设置主键
     * @return 门店团购设置
     */
    public StoreGrouponSettings selectStoreGrouponSettingsById(Long id);

    /**
     * 查询门店团购设置列表
     *
     * @param storeName 门店名称
     * @return 门店团购设置集合
     */
    public List<StoreGrouponSettings> selectStoreGrouponSettingsListByName(@Param("storeName") String storeName);

    /**
     * 新增门店团购设置列表
     *
     * @param storeGrouponSettings 门店团购设置
     * @return 结果
     */
    public int insertStoreGrouponSettings(StoreGrouponSettings storeGrouponSettings);

    /**
     * 修改门店团购设置列表
     *
     * @param storeGrouponSettings 门店团购设置
     * @return 结果
     */
    public int updateStoreGrouponSettings(StoreGrouponSettings storeGrouponSettings);

    /**
     * 删除门店团购设置列表
     *
     * @param id 门店团购设置主键
     * @return 结果
     */
    public int deleteStoreGrouponSettingsById(Long id);

    /**
     * 批量删除门店团购设置列表
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteStoreGrouponSettingsByIds(Long[] ids);
}
